package com.gec.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gec.mapper.SysRoleMapper;
import com.gec.mapper.SysUserRoleMapper;
import com.gec.model.system.SysRole;
import com.gec.model.vo.AssginRoleVo;
import com.gec.model.vo.SysRoleQueryVo;
import com.gec.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {
    @Autowired
    private SysUserRoleMapper sysUserRoleMapper;
    //分页
    @Override
    public IPage<SysRole> selectPage(IPage<SysRole> page, SysRoleQueryVo roleQueryVo) {
        IPage<SysRole> iPage =baseMapper.selectPage(page,roleQueryVo);
        return iPage;
    }

}
